import java.util.Arrays;

public class Test2 {
    public static void main(String[] args) {
        Integer a = 127;
        Integer b = 127;
        Integer c = 128;
        Integer d = 128;
        System.out.println(a == b);
        System.out.println(c == d);
    }
    public static void main3(String[] args) {
        int [] array = {1,2,3,4,5,6,7,8,0};
        int i = 0;
        int sum = 0;
        int sum2  = 0 ;
        for (i = 0 ;i < array.length; i ++){
            sum += array[i];
        }
        for(i = 0;i< array.length+1;i++){
            sum2 += i;
        }
        System.out.println(sum2 + (-sum));
    }

    public static void main2(String[] args) {
        int x = 0;
        int [] array = {1,5,8,9,7,0,2,4,6};
        for(int i = 0;i < array.length;i++){
            System.out.println(i);
            x ^= i;
        }
        for(int j = 0 ;j < array[j]+1;j++){
            x ^= array[j];
        }
        System.out.println(x);
    }
    public static void main1(String[] args) {
        String s1=String.valueOf(1234);
        String s2=String.valueOf(12.34);
        String s3=String.valueOf(true);
        //String s4=String.valueOf(new Student("Hanmeimei",18));
        System.out.println(s1);
        System.out.println(s2);
        System.out.println(s3);
        //System.out.println(s4);
    }
}
